<style type="text/css">
    .modal-content {
        width: 1200px;
        height: 100%;
        right: 260px;
    }
    .table-style table tbody tr:hover {
        background-color: #a3e2f7 !important;
    }
</style>
<div class="wrapper-md ng-scope">
    <winit-table
        class="table-style"
        table-scope="info.tableScope"
        is-user-search="false"
        data="info.reqList"
        selected="selected"
        has-selected="true"
        thdata="info.thdata"
        page="info.page"
        is-check="true"
        find-td="addOrEditReq('view',info)"
        online-fun="reqOnline(info)"
        show-list="true" auto-height="true" table-id="reqT">
    </winit-table>
</div>
<winit-settings table-scope="info.tableScope" search-ele="settings.searchEle" date-radios="settings.dateRadios"
                select-list="settings.selectEle" ui-slt-list="settings.uiSltEle"
                btn-list="settings.btnEle" tree-slt="settings.sltTree" switch-list="settings.switchs"></winit-settings>

<script type="text/ng-template" id="joinPRD.html">
    <div class="modal-body">
        <m-form title="">
            <m-form-lable>
                <m-form-line label="PRD:">
                    <winit-select modeldata="info.projectPlanId" fon-change="reqProjectPlanId(info)"
                                  optiondata="projectPlanName" optiondata-value="projectPlanId"
                                  datalist="info.projectPlans"></winit-select>
                </m-form-line>
                <winit-table thdata="info.thdata"
                             page="info.page"
                             is-check="info.check"
                             data="info.dataModel"
                             data-model="info.dataModel"
                             find-blur="findInfo(info)"
                             update-blur="update(info)"
                             delete-blur="delete(info)"
                             trcheck-blur="trcheck(info)">
                </winit-table>
            </m-form-lable>
        </m-form>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="save('jump')" ng-disabled="info.projectPlanId==''">保存并预览项目计划</button>
        <button class="btn btn-primary" ng-click="save(null)" ng-disabled="info.projectPlanId==''">保存回到需求列表</button>
        <button class="btn btn-primary" ng-click="cancel()">取消关闭</button>
    </div>
</script>